home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / 0utils.lha / 0Utils / SRunSX.doc < prev    next >
Text File  |  1995-09-05  |  2KB  |  82 lines

  1.  
  2.  
  3.  
  4.     NAME
  5.     SRunSX
  6.  
  7.     SYNOPSIS
  8.     SRunSX -  SRun Script Execute  - Requires v37
  9.  
  10.     INPUTS
  11.     "/F/A"
  12.  
  13.     DESCRIPTION
  14.  
  15.     This is a program very Similar to SRun;
  16.     in fact it is just an extension to SRun.
  17.     Additionally to the functionality SRun shows,
  18.     SRunSX examines its first argument, and if this
  19.     is a quoted scriptfile, it explicitely calls
  20.     "Execute".
  21.     This is a workaround for a bug in Kickstart 2.0-3.1
  22.     Boot Shell, which addes a space to the filename, if
  23.     a Script is enclosed in brackets an not called via
  24.     Execute.
  25.  
  26.      RESULT
  27.     STDOUT: the output of the 'command' execution.
  28.     RC:    returnvalue of SystemTags() or >=10
  29.     
  30.  
  31.     
  32.         
  33.  
  34.     NOTES
  35.     * CLI - only
  36.  
  37.     * should compile with SAS-C
  38.     
  39.  
  40.     SRunSX does currently ignore ReadArgs, this is due
  41.     to a bug(?) in readargs that removes some whitespace
  42.     and quotes from argstring even with /F option
  43.  
  44.     Ok, now its 'slowly' becoming a hack ...
  45.     (and ok cbm shell IS a hack ...)
  46.     
  47.  
  48.     BUGS
  49.  
  50.  
  51.     EXAMPLES
  52.  
  53.     > echo >  t:xxx "echo hallo"
  54.     > protect t:xxx +s
  55.     > t:xxx
  56.       hallo
  57.     > "t:xxx" ; beware of the quotes!
  58.       EXECUTE: Can't open t:xxx
  59.       object not found
  60.     > echo >"t:xxx " "echo error - this is the wrong script"
  61.     > "t:xxx" ; beware of the quotes!
  62.       error - this is the wrong script
  63.     > SRunSX "t:xxx"
  64.       hallo
  65.     > SRunSX echo hallo
  66.       hallo
  67.     
  68.  
  69.     HISTORY
  70.  
  71.     20-02-95 b_noll created SRun.*
  72.     21-02-95 b_noll added version/format-prefix/offset
  73.     20-03-95 b_noll added args diagnostics
  74.     09-04-95 b_noll shortened the file: arg Parsing dropped, removed NP_tags
  75.     10-04-95 b_noll copied 2 SRunSX.* Removed #ifdef PARSE added Examine
  76.     
  77.  
  78.     AUTHOR
  79.     Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
  80.     noll@student.uni-kl.de
  81.  
  82.